﻿using OddUserManager.Data.IRepositories;
using OddUserManager.Model;
using OddUserManager.Service.IServices;
using System;
using System.Collections.Generic;
using System.Text;

namespace OddUserManager.Service.Services
{
    public class RealTimeMatchsService : IRealTimeMatchsService
    {
        private readonly IRealTimeMatchsRepository _repository;

        public RealTimeMatchsService(IRealTimeMatchsRepository repository) {
            _repository = repository;
        }

        public List<RealTimeMatchs> GetAllMatchsByParam(RealTimeMatchsParam param)
        {
            return _repository.GetAllMatchsByParam(param);
        }

        public List<RealTimeLeagueInfo> GetLeagueInfosByParam(RealTimeMatchsParam param)
        {
            return _repository.GetLeagueInfosByParam(param);
        }

        public List<RealTimeMatchs> GetMatchsByParam(RealTimeMatchsParam param)
        {
            return _repository.GetMatchsByParam(param);
        }

        public List<RealTimeMatchs> GetMatchTeamInfos(RealTimeMatchsParam param)
        {
            return _repository.GetMatchTeamInfos(param);
        }

        public List<RealTimeSeasonInfo> GetSeasonsByParam(RealTimeMatchsParam param)
        {
            return _repository.GetSeasonsByParam(param);
        }

        public List<RealTimeLeagueInfo> GetTeamLeagues(RealTimeMatchsParam param)
        {
            return _repository.GetTeamLeagues(param);
        }

        public RealTimeTeamRankInfo GetTeamRankInfoByParam(RealTimeMatchsParam param)
        {
            return _repository.GetTeamRankInfoByParam(param);
        }

        public List<RealTimeSeasonInfo> GetTeamSeasons(RealTimeMatchsParam param)
        {
            return _repository.GetTeamSeasons(param);
        }
    }
}
